package com.jader.beans;

import java.io.Serializable;

public class ShouCangBens implements Serializable {

	private static final long serialVersionUID = 1L;
	int scId;
	int userid;
	long tiezi_id;

	public ShouCangBens() {
		super();
	}

	public ShouCangBens(long tiezi_id) {
		super();
		this.tiezi_id = tiezi_id;
	}

	public ShouCangBens(int scId, int userid, long tiezi_id) {
		super();
		this.scId = scId;
		this.userid = userid;
		this.tiezi_id = tiezi_id;
	}

	public int getScId() {
		return scId;
	}

	public void setScId(int scId) {
		this.scId = scId;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public long getTiezi_id() {
		return tiezi_id;
	}

	public void setTiezi_id(long tiezi_id) {
		this.tiezi_id = tiezi_id;
	}

	@Override
	public String toString() {
		return "ShouCangBens [scId=" + scId + ", userid=" + userid
				+ ", tiezi_id=" + tiezi_id + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + scId;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ShouCangBens other = (ShouCangBens) obj;
		if (scId != other.scId)
			return false;
		return true;
	}

}
